package com.top.art.bo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author hjh
 * @version 2020/10/6-11:03
 */
@Data
public class TeachersBO {

    @NotBlank(message = "科目不能为空")
    private String course;

    @NotNull(message = "省不能为空")
    @Size(min = 1, max = 5)
    private List<String> provinces;
}
